import React from 'react';
import {Badge} from 'antd';
import globalConfig from '../config';

module.exports = [
    {
        key: 'id',
        title: 'ID',
        dataType: 'int',
        primary: true,
        showType: 'normal',
        showInTable: true,
        showInForm: true,
        disabled: true,
        render: (text, record) => text
    },
    {
        title: '角色名称',
        key: 'name',
        dataType: 'varchar',
        showInTable: true,
        showInForm: true
    },
    {
        title: '权限列表',
        key: 'perms',
        showInTable: false
    }
    // , {
    //     title: '操作',
    //     key: 'operation',
    //     render: (text, record) => <a href="###">编辑</a>
    // }
];